function Super() {
    this.company = '韩创';
    this.members = [1, 2, 3];
}
Super.prototype.getName = function () {
    console.log('super' + this.company)
}
function Sub(name, age) {
    this.name = name;
    this.age = age;
}
Sub.prototype = new Super();
//继承后要将构造函数也指向自己
Sub.prototype.constructor = Sub;

let sub = new Sub('Bryan', 18);